function extendClass(extensionDestinationClass, extensionSourceClass)
    for k, v in pairs(extensionSourceClass) do
        if extensionDestinationClass[k] ~= nil then
            print("key "..k.." overriden by extension class")
        end
        extensionDestinationClass[k] = v
    end
end